package xps.and.uudaijia.userclient.util;

import android.content.Context;

import com.baidu.mapapi.map.BaiduMap;
import com.baidu.mapapi.map.BitmapDescriptor;

import xps.and.uudaijia.userclient.R;

public class HSSDrivingRouteOverlay extends DrivingRouteOverlay {
    Context context;

    public HSSDrivingRouteOverlay(BaiduMap baiduMap, Context context) {
        super(baiduMap);
        this.context = context;
    }

    @Override
    public BitmapDescriptor getStartMarker() {
         //return BitmapDescriptorFactory.fromResource(R.drawable.arrow);
          return null;
    }

    @Override
    public BitmapDescriptor getTerminalMarker() {
        //return BitmapDescriptorFactory.fromResource(R.drawable.right_arrow);
        return null;
    }

    @Override
    public int getLineColor() {
        return context.getResources().getColor(R.color.colorPrimary);
    }

    @Override
    public int getPolyLineWidth() {
        return (int) context.getResources().getDimension(R.dimen.PolyLineWidth);
    }
}